package rladidxo.basic;

public class J08_55 {
public static void main(String[] args) {
	int a[]=new int[10];
	System.out.print("가: ");
	for(int b=1;b<11;b++){a[b-1]=b; System.out.print(+a[b-1]+"\t");}System.out.println();
	int c[]=new int[11];
	System.out.print("나: ");
	for(int b=1;b<12;b=b+1){c[b-1]=2*b-2; System.out.print(c[b-1]+"\t");}System.out.println();
	System.out.print("다: ");
	for(int b=1;b<11;b=b+1){c[b-1]=b*b; System.out.print(c[b-1]+"\t");}System.out.println();
	System.out.print("라: ");//배열 생성시 해당 자료형에 따라 기본값이 자동으로 배열의 요소로 추가됨
	for(int b=1;b<11;b++){a[b-1]=0; System.out.print(a[b-1]+"\t");}System.out.println();
	System.out.print("마: ");
	int d[] ={1,4,9,16,9,7,4,9,11};
	//d= new int[]{1,4,9,16,9,7,4,9,11};
	for(int b=1; b<10;b++){System.out.print(d[b-1]+"\t");}
}
}
